﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement.Records;
using SchoolPointe.RelatedContent.Enums;
using Orchard.ContentManagement.MetaData.Models;
using System.ComponentModel;
using SchoolPointe.RelatedContent.Models;

namespace SchoolPointe.RelatedContent.ViewModels
{
    public class RelatedContentPartSettingsViewModel
    {
        public RelatedContentPartSettingsViewModel()
        {
            this.Relationships = new List<RelatedContentRelationship>();
        }

        public IList<RelatedContentRelationship> Relationships { get; set; }

        [ReadOnly(true)]
        public IList<ContentTypeDefinition> PossibleContentTypes { get; set; }

        [ReadOnly(true)]
        public string ParentTypeName { get; set; }
    }
}